how to filter a datatable in c#

39

how to filter a datatable in c# -

DataView dv = new DataView(yourDatatable);
dv.RowFilter = "query"; // query example = "id = 10"

Comments

Submit
0 Comments